#include "RICHUserEventAction.hh"
#include "RICHHitsCollection.hh"
#include "RICHHit.hh"
#include "RICHMessenger.hh"
#include "G4HCofThisEvent.hh"
#include "G4Event.hh"

#include <iostream>
using namespace std;

RICHUserEventAction::RICHUserEventAction() {
	;
}

RICHUserEventAction::~RICHUserEventAction() {
	;
}

void RICHUserEventAction::BeginOfEventAction(const G4Event*) {
	;
}

void RICHUserEventAction::EndOfEventAction(const G4Event* event) {
//	G4HCofThisEvent* hcc = event->GetHCofThisEvent();

//	RICHHitsCollection* PMTHC = (RICHHitsCollection*) (hcc->GetHC(0));

//	G4PrimaryVertex* priV = event->GetPrimaryVertex();
//	messenger->AddHits(priV->GetX0(), priV->GetY0(), PMTHC->GetSize());
//	cout << "Photon count:\t" << messenger->PhotonCount() << endl;
//	messenger->resetCounts();
	//	messenger->AddHits(PMTHC->GetSize());
}
